<html>
<head>
<meta charset="UTF-8">
<title></title>
<script>
function $(v){return document.getElementById(v);}
function aa(){
var x=document.getElementById("a").innerHTML;
x=parseInt(x)+1;
document.getElementById("a").innerHTML=x;
}
</script>
</head>
<body><div id="a">1</div><button type="button" style="width:80px;height:22px;" onclick="aa()">点击+1...</button>
	
	
	
</body>
</html>